package com.design.pattern.adapter.objectpattern;

import com.design.pattern.adapter.PowerStrip;

/**
 * 对象适配器模式
 * @author liangliang
 */
public class NoteBook {

    public static void power(){
        PowerStrip ps = new NoteBookAdapter(new NoteBookCharge());
        ps.charger("笔记本");
    }
}
